package com.software.chemistry.entity;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class StudentInfo {
@Id
  private String userId;
  private String userName;
  private String password;
  private String icon;
  private String nickName;
  private String realName;
  private String gender;
  private String studentId;
  private String school;
  private String classId;


  public String getUserId() {
    return userId;
  }

  public void setUserId(String userId) {
    this.userId = userId;
  }


  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }


  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }


  public String getIcon() {
    return icon;
  }

  public void setIcon(String icon) {
    this.icon = icon;
  }


  public String getNickName() {
    return nickName;
  }

  public void setNickName(String nickName) {
    this.nickName = nickName;
  }


  public String getRealName() {
    return realName;
  }

  public void setRealName(String realName) {
    this.realName = realName;
  }


  public String getGender() {
    return gender;
  }

  public void setGender(String gender) {
    this.gender = gender;
  }


  public String getStudentId() {
    return studentId;
  }

  public void setStudentId(String studentId) {
    this.studentId = studentId;
  }


  public String getSchool() {
    return school;
  }

  public void setSchool(String school) {
    this.school = school;
  }


  public String getClassId() {
    return classId;
  }

  public void setClassId(String classId) {
    this.classId = classId;
  }

  @Override
  public String toString() {
    return "StudentInfo{" +
            "userId='" + userId + '\'' +
            ", userName='" + userName + '\'' +
            ", password='" + password + '\'' +
            ", icon='" + icon + '\'' +
            ", nickName='" + nickName + '\'' +
            ", realName='" + realName + '\'' +
            ", gender='" + gender + '\'' +
            ", studentId='" + studentId + '\'' +
            ", school='" + school + '\'' +
            ", classId='" + classId + '\'' +
            '}';
  }
}
